using System;
using System.Collections.Generic;
using System.Text;

namespace XinBang.Entity
{
    public class Goods:IDomainModel
    {
        private int gooid;

        public virtual int Gooid
        {
            get { return gooid; }
            set { gooid = value; }
        }

        private string goodsname;

        public virtual string GoodsName
        {
            get { return goodsname; }
            set { goodsname = value; }
        }

        private decimal price;

        public virtual decimal Price
        {
            get { return price; }
            set { price = value; }
        }

        private GoodsCatalog catid;

        public virtual GoodsCatalog Catid
        {
            get { return catid; }
            set { catid = value; }
        }

        private string describe;

        public virtual string Describe
        {
            get { return describe; }
            set { describe = value; }
        }

        private DateTime pubtime;

        public virtual DateTime Pubtime
        {
            get { return pubtime; }
            set { pubtime = value; }
        }

        private int cent;

        public virtual int Cent
        {
            get { return cent; }
            set { cent = value; }
        }

        private int hit;

        public virtual int Hit
        {
            get { return hit; }
            set { hit = value; }
        }

        public override string ToString()
        {
            return this.goodsname;
        }
    }
}
